﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using BusinessLayer;

namespace Remote
{
    public class MovieService : IMovieService
    {
        static MovieCTR movieCTR = new MovieCTR();

        public void AddMovie(string title, string genre, string time, string description, double price)
        {
            movieCTR.AddMovie(title, genre, time, description, price);
        }

        public List<DataLayer.Movie> getMovies()
        {
            return movieCTR.getMovies();
        }

        public void searchIMDBMovies(string search) {
            movieCTR.searchIMDBMovies(search);
        }
    }
}
